package cn.swust.designpatternlearningplatform.common.Result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页信息类
 * @author Tang
 * @date 2023/4/15 21:17
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageInfo<T> implements Serializable {
    private Integer total;
    private Integer currentPage;
    private Integer pageSize;
    private List<T> data;
}
